import request from '@/utils/request'

// 查询卷长变更列表
export const GetListAPI = params => {
  return request({
    url: '/production/rollLengthChange/list',
    method: 'GET',
    params
  })
}

// 新增卷长变更
export const RollLengthChangeAPI = data => {
  return request({
    url: '/production/rollLengthChange/add',
    method: 'POST',
    data
  })
}

// 母卷变更新增列表
export const SelectMasterVolumeListAPI = params => {
  return request({
    url: '/storage/wmsStock/selectMasterVolumeList/' + params,
    method: 'GET'
  })
}

// 查询母卷拼接列表
export const GetMasterRollSplicingAPI = params => {
  return request({
    url: '/production/masterRollSplicing/list',
    method: 'GET',
    params
  })
}

// 新增母卷拼接
export const AddDataAPI = data => {
  return request({
    url: '/production/masterRollSplicing/add',
    method: 'POST',
    data
  })
}
